package com.gxa.service;

import com.gxa.common.JsonResult;
import com.gxa.common.PageRecv;
import com.gxa.common.R;
import com.gxa.pojo.RepairOrder;

public interface RepairOrderService {
    //添加
    public R addRepairOrder(RepairOrder repairOrder);
    //修改
    public R updateRepairOrder(RepairOrder repairOrder);
    //查询
    public JsonResult queryRepairOrder(PageRecv pageRecv);
    //高级搜索
    public JsonResult selectRepairOrder(PageRecv pageRecv);
    //搜索
    public JsonResult selectRepairOrderByOther(PageRecv pageRecv);
    //删除
    public R deleteRepairOrder(Integer repair_id);
    //数据统计按员工
    public R dataStatisticalByEmployee(String start_date,String stop_date);
    //数据统计按部门
    public R dataStatisticalByDept(String start_date,String stop_date);
    //删除工单及其所有信息
    public R deleteAllByRepairOrder(Integer customer_id);

}
